import { RouteType } from './router'
import Editor from '../pages/Editor'
import LodaingDemo from '../pages/LodaingDemo'
import CountdownTimer from '../pages/CountdownTimer'
import Test from '../pages/Test'
import Music from '../pages/Music'
import AmountTransitionFigures from '../pages/AmountTransitionFigures'
import UniverseDiagram from '../pages/UniverseDiagram'
import BtnStyle from '../pages/BtnStyle'

export const routes: RouteType [] = [
  {
    title: 'VScode',
    path: '/editor',
    component: Editor
  },
  {
    title: 'Loading效果',
    path: '/loading',
    component: LodaingDemo
  },
  {
    title: '按钮样式',
    path: '/btnStyle',
    component: BtnStyle
  },
  {
    title: 'countdownTimer',
    path: '/countdownTimer',
    component: CountdownTimer
  },
  {
    title: 'music',
    path: '/music',
    component: Music
  },
  {
    title: '数字转金额',
    path: '/amountTransitionFigures',
    component: AmountTransitionFigures
  },
  {
    title: '太极图',
    path: '/universeDiagram',
    component: UniverseDiagram
  },
  {
    title: '测试',
    path: '/test',
    component: Test
  },
]